package com.guo.core.framework;

import com.guo.core.framework.JDBCtest.Transport;
import lombok.Data;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.apache.poi.ss.usermodel.BorderStyle;
import org.apache.poi.ss.usermodel.Cell;
import org.apache.poi.ss.usermodel.CellStyle;
import org.apache.poi.ss.usermodel.FillPatternType;
import org.apache.poi.ss.usermodel.HorizontalAlignment;
import org.apache.poi.ss.usermodel.IndexedColors;
import org.apache.poi.ss.usermodel.Row;
import org.apache.poi.ss.usermodel.Sheet;
import org.apache.poi.ss.usermodel.Workbook;
import org.apache.poi.ss.util.CellRangeAddress;
import org.springframework.beans.factory.support.BeanDefinitionRegistryPostProcessor;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.util.ObjectUtils;

import java.io.File;
import java.io.FileOutputStream;
import java.io.ObjectOutputStream;
import java.text.DateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.YearMonth;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
import java.util.stream.Collectors;

/**
 * @projectName: 接口梳理
 * @package: com.guo.core.framework
 * @className: myClass
 * @author: zhangcan30
 * @description: TODO
 * @date: 2023/11/16 13:52
 * @version: 1.0
 */
@Data
public class myClass {

    private String whCode;

    public static void main(String[] args) throws Exception {

        List<String> list=new ArrayList<>();
        list.add("WL000361-1440403");
        list.add("WL000361-1440403");
        list.add("WL000361-1440403");
        list.add("WL000361-1440403");
        list.add("WL000361-1440403");
        list.add("WL000361-1440403");

        System.out.println(list);

        System.out.println(list.stream().distinct().collect(Collectors.toList()));
    }


}
